package com.tutu.category.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tutu.commons.pojo.Category;

import java.util.List;

/**
 * @Program: b2c-cloud-store
 * @Description:
 * @Author: JK.TuTu
 * @ @Version: 1.0
 * @Create: 2022-12-15 11:16
 **/
public interface CategoryService extends IService<Category> {
    Category getCategoryByName(String categoryName);

    List<Category> getAll();
}
